﻿<%@ Page Title="" Language="C#" MasterPageFile="~/ClientPage.Master" AutoEventWireup="true"
    EnableViewState='false' EnableEventValidation="false" CodeBehind="News.aspx.cs"
    Inherits="Aij1.News" %>

<%@ Register Assembly="DevExpress.Xpo.v13.1.Web, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Xpo" TagPrefix="dx" %>
<%@ Register Src="UserControls/CtrlComment.ascx" TagName="CtrlComment" TagPrefix="uc1" %>
<%@ Register Src="UserControls/CtrlWeibo.ascx" TagName="CtrlWeibo" TagPrefix="uc1" %>
<asp:Content ID="C0" ContentPlaceHolderID="chHead" runat="server">
    <style type="text/css">
        #news1 { line-height: 30px; background: #f4f4f4; font-size: 12px; padding-left: 1em; text-align: center; }
        #news2 { text-align: center; line-height: 200%; padding: 8px; color: #CC0000; }
        #news3 { text-indent: 2em; line-height: 180%; padding-top: 10px; padding-bottom: 10px; font-size: 14px; height: auto; width: 100%; overflow: hidden; }
        #news3 P { text-indent: 2em; }
        #news5 { font-size: 16px; padding-top: 20px; border-bottom: 1px dashed #ccc; padding-bottom: 5px; font-weight: bold; color: #005c9f; }
        #news7 { padding-top: 8px; padding-bottom: 10px; line-height: 180%; }
        h1 { font-size: 20px; }
        #news4 LI { display: inline; }
    </style>
</asp:Content>
<asp:Content ID="CT2" ContentPlaceHolderID="left" runat="server">
    <asp:Repeater ID="repCat" runat="server">
        <HeaderTemplate>
            <ul>
        </HeaderTemplate>
        <ItemTemplate>
            <li class='li<%# GetCssClassIndex(Eval("Oid")) %>'><a href='NewsCenter_<%#Eval("Oid") %>.htm'>
                <%#Eval("Title") %></a></li>
        </ItemTemplate>
        <FooterTemplate>
            </ul></FooterTemplate>
    </asp:Repeater>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cph" runat="server">
    <div id="news2">
        <h1>
            <%=Article.Title%></h1>
    </div>
    <div id="news1">
        浏览字体：<a href="javascript:T(16);"><u>大</u></a> <a href="javascript:T(14);"><u>中</u></a>
        <a href="javascript:T(12);"><u>小</u></a> &nbsp;&nbsp;发布人：<%=Article.Author %>&nbsp;&nbsp;时间：<%=Aij1.Utils.CommOp.ToTimeStr(Article.EditTime)%>
    </div>
    <div id="news3">
        <%=Article.Content%>
    </div>
    <div>
        <%=QBind.GetKeywordsLink(Article) %></div>
    <uc1:CtrlWeibo ID="CW" runat="server" />
    <div id="news7">
        上一篇：<%=PrevLink %><br />
        下一篇：<%=NextLink %>
    </div>
    <uc1:CtrlComment ID="CtrlComment1" runat="server" />
</asp:Content>
